package com.woniu.smart.service;

import com.woniu.smart.dto.CustomerDTO;
import com.woniu.smart.entity.Customer;
import com.woniu.smart.vo.CustomerVO;

import java.util.List;

public interface CustomerService {
    List<CustomerVO> selectAll(CustomerDTO customerDTO);

    CustomerVO selectByCustomerId(Long customerId);

    int deleteByPrimaryKey(Long id);
    int deleteAll(Long[] ids);

    int insert(Customer record);

    int insertSelectiveCustomer(CustomerVO recordVO);
    int insertSelective(Customer record);

    Customer selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Customer record);
    int updateByPrimaryKeySelectiveAll(CustomerVO recordVO);

    int updateByPrimaryKey(Customer record);
}
